package com.shopUser.service;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import com.shopUser.bean.User;

import shopBean.common.bean.RestResult;

public interface IUserService {
	public int insert(User user);
	public User get(String id);
	public int delete(String userId);
	public User getByAccount(String account);
	
	public RestResult<User> login(String account,String password);
}
